package com.deyuanyun.pic.settings.service.prvlg;

import java.util.List;
import java.util.Map;

public interface UserGroupService {

	List getUserGroupManagerIndex();

	int saveGroup(String name, String code, String remark, String id, String state);

	Map<String, Object> groupAuthorize(String id);

	int saveAuthorize(String id, String[] data);

	Map<String, Object> addOrModify(String id);

	int deleteData(String idStr);

	int changeState(String userGroupId, String state);

	int dataOnOrOff(String idStr, String opt);

	List searchUserGroup(String name, String code);
	
}
